package com.anxin.act.task.entity;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.anxin.framework.aspectj.lang.annotation.Excel;
import com.anxin.framework.web.entity.BaseEntity;
import java.util.Date;

/**
 * 流程抄送记录对象 wf_cc_record
 *
 * @author jbs
 * @date 2021-03-30
 */
//@ApiModel(description = "流程抄送记录")
public class WfCcRecord extends BaseEntity<WfCcRecord>{
    private static final long serialVersionUID = 1L;

    /** 流程实例ID */
    //@ApiModelProperty(value = "流程实例ID",position=20)
    private String actId;

    /** 待办任务ID */
    //@ApiModelProperty(value = "待办任务ID",position=30)
    private String taskId;

    /** 用户ID */
    //@ApiModelProperty(value = "用户ID",position=40)
    private String userId;

    /** 用户名称 */
    //@ApiModelProperty(value = "用户名称",position=40)
    private String userName;

    /** 抄送时间 */
    //@ApiModelProperty(value = "抄送时间",position=50)
    private Date sendTime;

    public WfCcRecord(){

    }

    public WfCcRecord(String actId, String taskId, String userId) {
        this.actId = actId;
        this.taskId = taskId;
        this.userId = userId;
        this.sendTime = new Date(System.currentTimeMillis());
    }


    public void setActId(String actId){
        this.actId = actId;
    }

    public String getActId(){
        return actId;
    }
    public void setTaskId(String taskId){
        this.taskId = taskId;
    }

    public String getTaskId(){
        return taskId;
    }
    public void setUserId(String userId){
        this.userId = userId;
    }

    public String getUserId(){
        return userId;
    }
    public void setSendTime(Date sendTime){
        this.sendTime = sendTime;
    }

    public Date getSendTime(){
        return sendTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actId", getActId())
            .append("taskId", getTaskId())
            .append("userId", getUserId())
            .append("sendTime", getSendTime())
            .toString();
    }
}
